package com.anche.cywebnew.DTO;

public class ModuleTreeDTO {

    private static final long serialVersionUID = -2783081162690878303L;
    private String id;

    private String name;

    private String pId;

    private String resourcetype;

    private String description;

    private String code;

    private String url;

    private String icon;

    private String seq;

    private boolean checked;

    private boolean open;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getResourcetype() {
        return resourcetype;
    }

    public void setResourcetype(String resourcetype) {
        this.resourcetype = resourcetype;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

	/*public void setOpen(boolean open) {
		this.open = open;
	}*/

    @Override public String toString() {
        return "PermissionVO{" + "id='" + id + '\'' + ", name='" + name + '\''
                + ", pId='" + pId + '\'' + ", resourcetype='" + resourcetype + '\''
                + ", description='" + description + '\'' + ", url='" + url + '\''
                + ", icon='" + icon + '\'' + ", seq='" + seq + '\''
                + ", checked=" + checked + ", open=" + open + '}';
    }
}
